package com.smartleanx.module.hrm.dal.mysql.employee;

import java.util.*;

import com.smartleanx.framework.mybatis.core.mapper.BaseMapperX;
import com.smartleanx.module.hrm.dal.dataobject.employee.EmployeeRegularizeRecordDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 转正记录 Mapper
 *
 * @author 精益大师
 */
@Mapper
public interface EmployeeRegularizeRecordMapper extends BaseMapperX<EmployeeRegularizeRecordDO> {


    default List<EmployeeRegularizeRecordDO> selectListByEmployeeId(Long employeeId) {
        return selectList(EmployeeRegularizeRecordDO::getEmployeeId, employeeId);
    }

    default List<EmployeeRegularizeRecordDO> selectListByEmployeeId(Collection<Long> employeeIdList) {
        return selectList(EmployeeRegularizeRecordDO::getEmployeeId, employeeIdList);
    }

}
